package com.wenlin.userservice.service;

import com.wenlin.userservice.domain.Test;
import com.wenlin.userservice.response.Message;

/***
 *  Created with IntelliJ IDEA.
 *  User:  wenlin
 *  Date:  2017/12/1
 *  Time:  16:29
 *  Description:
 **/
public interface TestService {
    /***
     *  User:  wenlin
     *  Date:  2017/12/1
     *  Time:  13:56
     *  Description:获取数据库开关状态值
     **/
    Message<Test> get();
    /***
     *  User:  wenlin
     *  Date:  2017/12/1
     *  Time:  14:10
     *  Description:修改开关状态
     **/
    Message update(Integer flag);

    /***
     *  User:  wenlin
     *  Date:  2017/12/1
     *  Time:  14:19
     *  Description:单例中开关状态值
     **/
    Message getFlag();
}
